package com.erhuogo.action;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.erhuogo.entity.Favorite;
import com.erhuogo.service.FavoriteService;
import com.opensymphony.xwork2.ActionSupport;

/**
 * 收藏Action
 * @author aibinxiao
 * @date 2016年10月26日 上午11:31:14
 */
public class FavoriteAction extends ActionSupport{
	private static final long serialVersionUID = 8278679729376152741L;
	private static Logger logger = LoggerFactory.getLogger(FavoriteAction.class);
	
	// 模型驱动使用的对象
	private Favorite favorite;

	public Favorite getFavorite() {
		return favorite;
	}

	public void setFavorite(Favorite favorite) {
		this.favorite = favorite;
	}
	
	// 注入FavoriteService
	private FavoriteService favoriteService;

	public FavoriteService getFavoriteService() {
		return favoriteService;
	}

	public void setFavoriteService(FavoriteService favoriteService) {
		this.favoriteService = favoriteService;
	}
	
}
